package com.xique.door.biz.service;

import com.xique.common.core.web.domain.AjaxResult;
import com.xique.door.bean.domain.PermissionGroupDevice;
import com.xique.door.bean.request.permissionGroup.PermissionGroupDeleteDeviceRequest;
import com.xique.door.bean.request.permissionGroup.PermissionGroupDeviceRequest;
import com.xique.door.bean.request.permissionGroup.PermissionGroupSelectDeviceRequest;

import java.util.List;

/**
 * @author shd
 * @create 2021/7/3 8:54
 */
public interface IPermissionGroupDeviceBizService {

    /**
     * 删除设备
     * @param request
     * @return
     */
    AjaxResult deleteDevice(PermissionGroupDeleteDeviceRequest request);

    /**
     * 批量删除设备
     * @author shd
     * @date 2021/7/7 15:51
     * @param request
     * @return com.ruoyi.common.core.domain.AjaxResult
     */
    AjaxResult deleteDevices(PermissionGroupDeleteDeviceRequest request);

    /**
     * 权限组添加设备
     * @author shd
     * @date 2021/7/8 14:21
     * @param request
     * @return com.ruoyi.common.core.domain.AjaxResult
     */
    AjaxResult addDevices(PermissionGroupSelectDeviceRequest request);

    /**
     * 查询未添加的设备列表
     * @author shd
     * @date 2021/7/8 14:21
     * @param request
     * @return com.ruoyi.common.core.domain.AjaxResult
     */
    List<PermissionGroupDevice> selectUnallocatedList(PermissionGroupDeviceRequest request);

    /**
     * 查询已添加的设备列表
     * @author shd
     * @date 2021/7/8 14:21
     * @param request
     * @return com.ruoyi.common.core.domain.AjaxResult
     */
    List<PermissionGroupDevice> selectAllocatedList(PermissionGroupDeviceRequest request);
}
